package com.tduck.cloud.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tduck.cloud.account.entity.OrgEntity;
import com.tduck.cloud.account.entity.dto.OrgEntityDTO;
import com.tduck.cloud.account.entity.enums.TreeNodeWithSelfEnum;

import java.util.List;

/**
 * 用户(AcUser)表服务接口
 *
 * @author smalljop
 * @since 2020-11-10 18:10:42
 */
public interface OrgService extends IService<OrgEntity> {
    List<OrgEntityDTO> queryAllChildNode(Long parent);

    List<OrgEntityDTO> queryAllChildNode(Long parent, TreeNodeWithSelfEnum withSelf);

    List<OrgEntityDTO> queryExpandAllChildNode(Long parent,TreeNodeWithSelfEnum withSelf);

}
